import { getAuthorization, setAuthorization } from "@/utils/auth.js"
// 获取登录验证码
export const checkCode = "/app/api/G/sdk-heibai/v1/SMS/VerifyCode/"

// 账号密码登录
export const LoginPwd = "/app/api/G/user-heibai/v1/UserLogin/PWD"

// 短信验证登录
export const LoginSMS = "/app/api/G/user-heibai/v1/UserLogin/SMS"

// 刷新用户上线时间
export const userOnLine = '/app/api/G/user-heibai/v1/UserLogin/OnLine'

// 修改手机号验证码
export const UpdateMobileNumberVerifyCode = '/app/api/G/sdk-heibai/v1/SMS/VerifyCode/'

// 修改密码
export const updatePassword= () =>{
    let userInfoId = getAuthorization('userId')
    let url = '/app/api/G/user-heibai/v1/UserLogin/'+ userInfoId +'/PWD-SMS' 
    return url
 }

